#ifndef Fat_Func_H_
#define Fat_Func_H_

//#include "integer.h"
//void ff_test_term_timerproc(void) __attribute__ ((section(".ramfunc")));
int CreateFile(char* filename, BYTE mode);
void WriteFile(char* filename, const char* data, DWORD ofs);
void AppendFile(char* filename, char* data);
void CreateNewFile(char* filename, BYTE mode);
int MountingSDcard();
unsigned int ReadFileAll(char* filename, char* str, unsigned int size,
		DWORD ofs); //if end file return -1, else return index f_lseek(index)
int ListDir(const char *PATH, FILINFO *List);
unsigned int CheckIfFile(char* filename);
void PathGoBack(char *PATH);
#endif

